package com.fz.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fz.entity.Bill;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fz.vo.PayVo;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 存储水电费信息 服务类
 * </p>
 *
 * @author hyr
 * @since 2025-06-18
 */
public interface BillService extends IService<Bill> {
    PayVo getUsernameById(Integer id, Long userId);

    List<PayVo> setPayVoList(List<Bill> billList);

    boolean check(Long id, String field, String value);

    Page<Bill> getList(Long userId, Integer pageNo, Integer pageSize);

    Page<Bill> showList(Integer pageNo, Integer pageSize);




    Boolean add(Long id, String type, BigDecimal count);
}
